1 # Maintainer : Nicolas Estibals <Nicolas.Estibals@gmail.com>
2 # Contributor: tobias [tobias [at] archlinux.org]
3 # Contributor: Gaetan Bisson <bisson@archlinux.org>
7 pkgdesc="Small but very powerful text-based mail client with patch of Aron Griffis for Courrier IMAP's outbox feature."
8 url='http://www.mutt.org/'
11 arch=('i686' 'x86_64')
12 depends=('gpgme' 'ncurses' 'openssl' 'libsasl' 'gdbm' 'libidn' 'mime-types' 'krb5')
14 source=("ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz"
15 "mutt-resent-header-weeding.patch"
16 "mutt-sendbox-bounce.patch"
18 "mutt-write_postponed.patch")
19 sha1sums=('a8475f2618ce5d5d33bff85c0affdf21ab1d76b9'
20 'f48b04c1c0c4d6ebb1c55da247bb2277843a011e'
21 '27b0bccfc5187db744f4da99bc39c4ce985ebe6d'
22 '6444fabd4fde65151d1bfcedec8a13a50e521d41'
23 'fd66bfc85df26803333f88eab2721a254492bab6')
27 cd "${srcdir}/mutt-${pkgver}"
28 patch -p1 < ../mutt-write_postponed.patch
29 patch -p1 < ../mutt-resent-header-weeding.patch
30 patch -p1 < ../mutt-sendbox.patch
31 patch -p1 < ../mutt-sendbox-bounce.patch
52 cd "${srcdir}/mutt-${pkgver}"
53 make DESTDIR="${pkgdir}" install
55 rm "${pkgdir}"/usr/bin/{flea,muttbug}
56 rm "${pkgdir}"/usr/share/man/man1/{flea,muttbug}.1
57 rm "${pkgdir}"/etc/mime.types{,.dist}
58 install -Dm644 contrib/gpg.rc "${pkgdir}"/etc/Muttrc.gpg.dist