updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mutt-trash-nntp / PKGBUILD
blob2eabbf0e0a23c50c476d9d49d303a20555984ddc
1 pkgname=mutt-trash-nntp
2 pkgver=1.5.19
3 pkgrel=1
4 pkgdesc="A small but very powerful text-based mail client. Development version patched with nntp and trash folder support."
5 arch=(i686 x86_64)
6 license=('GPL')
7 url="http://www.mutt.org/"
8 depends=('slang' 'openssl>=0.9.8e' 'gdbm' 'mime-types' 'zlib' 'libsasl' 'gpgme')
9 makedepends=('gnupg')
10 conflicts=('mutt')
11 install=${pkgname}.install
12 source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz)
13 md5sums=()
14 url="http://www.mutt.org/"
16 build() {
17   cd ${startdir}/src/mutt-${pkgver}
18   patch -p1 < ../../trash.diff
19   patch -p1 < ../../nntp.diff
20   ./configure --prefix=/usr --sysconfdir=/etc \
21     --enable-pop --enable-imap --enable-smtp \
22     --with-sasl --with-ssl=/usr --without-idn \
23     --enable-hcache --enable-pgp --enable-inodesort \
24          --enable-compressed --with-regex \
25          --enable-gpgme --with-slang=/usr
26   make || return 1
27   make DESTDIR=${startdir}/pkg install
28   rm -f ${startdir}/pkg/usr/bin/{flea,muttbug}
29   rm -f $startdir/pkg/usr/share/man/man1/{flea,muttbug}.1
30   rm -f ${startdir}/pkg/etc/mime.types*
31   install -Dm644 contrib/gpg.rc ${startdir}/pkg/etc/Muttrc.gpg.dist