1 # Maintainer: Corin Schedler <corin@dubdromic.com>
5 pkgdesc="A small but very powerful text-based mail client. Patched with trash folder support."
8 url="http://www.mutt.org/"
9 depends=('slang' 'openssl' 'gdbm' 'mime-types' 'zlib' 'libsasl' 'gpgme')
12 install=${pkgname}.install
13 source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz trash.diff mutt_ssl.patch mutt-unmailbox.patch)
14 url="http://www.mutt.org/"
15 md5sums=('a29db8f1d51e2f10c070bf88e8a553fd' 'd0bc85f30ba298472dcda47dae825b19' '3f54850315502ad47405421339ffae60' 'fa8e03a49a2fa7b294dc8237d928cdb7')
18 cd ${srcdir}/mutt-${pkgver}
19 patch -p1 < ../../trash.diff
21 ./configure --prefix=/usr --sysconfdir=/etc \
22 --enable-pop --enable-imap --enable-smtp \
23 --with-sasl --with-ssl=/usr --without-idn \
24 --enable-hcache --enable-pgp --enable-inodesort \
25 --enable-compressed --with-regex \
26 --enable-gpgme --with-slang=/usr
28 make DESTDIR=${pkgdir} install
29 rm -f ${pkgdir}/usr/bin/{flea,muttbug}
30 rm -f ${pkgdir}/usr/share/man/man1/{flea,muttbug}.1
31 rm -f ${pkgdir}/etc/mime.types*
32 install -Dm644 contrib/gpg.rc ${pkgdir}/etc/Muttrc.gpg.dist