# Contributor: Sören Tempel # Maintainer: pkgname=neomutt pkgver=20170714 pkgrel=1 pkgdesc="Mutt with miscellaneous fixes and feature patches" url="https://www.neomutt.org/" arch="all" license="GPL2" depends="!mutt" depends_dev="" makedepends="automake autoconf cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev libidn-dev ncurses-dev libressl-dev notmuch-dev" install="" subpackages="$pkgname-doc $pkgname-lang" options="!check" source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgname-$pkgver" prepare() { default_prepare cd "$builddir" autoreconf -vfi } build() { cd "$builddir" ./configure -enable-notmuch -enable-gpgme \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --with-docdir=/usr/share/doc/$pkgname \ --with-mailpath=/var/spool/mail \ --with-gdbm \ --with-ssl \ --with-sasl make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 contrib/gpg.rc \ "$pkgdir"/usr/share/doc/$pkgname/examples/Muttrc.gpg } sha512sums="eb31d2f23b7211904cd66ba293c008f953778b37f13fd09d4db571d013f1c8e6449fccd827872f3ad0a2c8e62555f92b3f9591a1f0f4ac37ab362a4681abaaa0 neomutt-20170714.tar.gz"