updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mutt-trash / PKGBUILD
blobfb500cef2c4cc379017af77370e3f6562cdbdae6
1 # Maintainer: Corin Schedler <corin@dubdromic.com>
2 pkgname=mutt-trash
3 pkgver=1.5.21
4 pkgrel=1
5 pkgdesc="A small but very powerful text-based mail client. Patched with trash folder support."
6 arch=(i686 x86_64)
7 license=('GPL')
8 url="http://www.mutt.org/"
9 depends=('slang' 'openssl' 'gdbm' 'mime-types' 'zlib' 'libsasl' 'gpgme')
10 makedepends=('gnupg')
11 conflicts=('mutt')
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')
17 build() {
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
27   make || return 1
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