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