# Contributor: Sören Tempel # Contributor: Andrew Manison # Maintainer: Natanael Copa pkgname=mutt pkgver=1.9.4 pkgrel=0 pkgdesc="Small and very powerful text-mode email client" url="http://www.mutt.org" arch="all" license="GPL-2.0-or-later" makedepends="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev libidn-dev ncurses-dev libressl-dev perl" options="suid !check" subpackages="$pkgname-doc $pkgname-lang" source="https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ISPELL=/usr/bin/hunspell \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-imap \ --enable-pop \ --enable-smtp \ --enable-hcache \ --enable-gpgme \ --enable-sidebar \ --with-curses \ --with-mailpath=/var/spool/mail \ --with-docdir=/usr/share/doc/$pkgname \ --without-included-gettext \ --with-ssl \ --with-sasl make } package() { cd "$builddir" make DESTDIR="$pkgdir" install rm -f "$pkgdir"/etc/*.dist \ "$pkgdir"/etc/mime.types # Don't tamper with the global configuration file. # Many options set in the global config cannot be # overwritten in the users configuration file. # Example: Resetting colors isn't possible. install -Dm644 contrib/gpg.rc \ "$pkgdir"/etc/Muttrc.gpg.dist } sha512sums="b8266af8b487f5be238d03f717ddd69b3dc2eeb4e3ada2c2651c9ad7e0558b92f2c256361a4f688cf80c500c490d47c0e3ef5972bdf1208693da7868a58aca6b mutt-1.9.4.tar.gz"