1 # Contributor: Chris Brannon <cmbrannon79@gmail.com>
6 pkgdesc="Powerful electronic mail handling system, based on a set of command-line utilities."
8 url="http://www.nongnu.org/nmh/"
11 source=("http://download.savannah.nongnu.org/releases/nmh/$pkgname-$pkgver.tar.gz")
12 md5sums=('a52d1f93e780d7a045207451ce6c9a4e')
13 backup=(etc/nmh/MailAliases etc/nmh/components etc/nmh/digestcomps
14 etc/nmh/distcomps etc/nmh/forwcomps etc/nmh/mhl.body etc/nmh/mhl.digest
15 etc/nmh/mhl.format etc/nmh/mhl.forward etc/nmh/mhl.headers
16 etc/nmh/mhl.reply etc/nmh/mhn.defaults etc/nmh/mts.conf
17 etc/nmh/rcvdistcomps etc/nmh/rcvdistcomps.outbox etc/nmh/replcomps
18 etc/nmh/replgroupcomps etc/nmh/scan.MMDDYY etc/nmh/scan.YYYYMMDD
19 etc/nmh/scan.default etc/nmh/scan.mailx etc/nmh/scan.nomime
20 etc/nmh/scan.size etc/nmh/scan.time etc/nmh/scan.timely
23 options=('!makeflags')
26 cd "$startdir/src/$pkgname-$pkgver"
28 ./configure --prefix=/usr --sysconfdir=/etc/nmh --libdir="/usr/lib/nmh"
30 make DESTDIR="$pkgdir/" install
32 install -d -m755 "$pkgdir/usr/share/licenses/nmh"
33 install -m644 COPYRIGHT "$pkgdir/usr/share/licenses/nmh/"