# Template file for 's-nail' pkgname=s-nail version=14.7.11 revision=1 makedepends="libressl-devel>=2.1.2 libidn-devel" conf_files="/etc/mail.rc" short_desc="Mail processing system with a command syntax reminiscent of ed" maintainer="Ypnose " license="BSD" homepage="http://s-nail.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version//./_}.tar.gz" checksum=cf1c5e1089e2e18f1eb80ade41b3b75ff5edd898e3066acd4be2f4215539d47e provides="mail-${version}_${revision}" replaces="mail>=0" do_build() { make CC=$CC PREFIX=/usr SYSCONFDIR=/etc SID= NAIL=mail BINDIR=/usr/bin MANDIR=/usr/share/man \ MAILSPOOL=/var/spool/mail XPAGER=less WANT_IDNA=1 WANT_AUTOCC=0 SENDMAIL=/usr/bin/sendmail \ config make CC=$CC ${makejobs} build } do_install() { make DESTDIR=$DESTDIR packager-install vlicense COPYING }