# Contributor: Steffen Nurpmeso # Contributor: Ivan Tham # Maintainer: pkgname=s-nail pkgver=14.9.18 pkgrel=0 pkgdesc="SysV mail/BSD Mail/POSIX mailx: send and receive Internet mail" options="suid" url="https://www.sdaoden.eu/code.html#s-mailx" arch="all" license="BSD-3-Clause" makedepends="openssl-dev libidn-dev ncurses-dev" replaces="mailx" subpackages="$pkgname-doc" source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz" build() { make \ VAL_SID= VAL_MAILX=mail \ VAL_PREFIX=/usr \ VAL_SYSCONFDIR=/etc \ \ OPT_GSSAPI=no \ VAL_IDNA=idn \ VAL_RANDOM="tls,libgetrandom,sysgetrandom,urandom,builtin" \ VAL_MAIL=/var/mail \ \ config make build } check() { make test } package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="d1ae090554413a6517c360a7bb1da4f36394361005e3bb20854105e5445b2e63aa9ad9d2649a59cfe06d89727143f0c21e350a7c2d708c1ee0ef8c35e2c06ae9 s-nail-14.9.18.tar.xz"