# Contributor: Sören Tempel # Contributor: Andrew Manison # Maintainer: Natanael Copa pkgname=mutt pkgver=1.10.0 pkgrel=0 pkgdesc="Small and very powerful text-mode email client" url="http://www.mutt.org" arch="all" license="GPL-2.0-or-later" makedepends="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev libidn-dev ncurses-dev libressl-dev perl" options="suid !check" subpackages="$pkgname-doc $pkgname-lang" source="https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ISPELL=/usr/bin/hunspell \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-imap \ --enable-pop \ --enable-smtp \ --enable-hcache \ --enable-gpgme \ --enable-sidebar \ --with-curses \ --with-mailpath=/var/spool/mail \ --with-docdir=/usr/share/doc/$pkgname \ --without-included-gettext \ --with-ssl \ --with-sasl make } package() { cd "$builddir" make DESTDIR="$pkgdir" install rm -f "$pkgdir"/etc/*.dist \ "$pkgdir"/etc/mime.types # Don't tamper with the global configuration file. # Many options set in the global config cannot be # overwritten in the users configuration file. # Example: Resetting colors isn't possible. install -Dm644 contrib/gpg.rc \ "$pkgdir"/etc/Muttrc.gpg.dist } sha512sums="4cade7f17e157c8c2184c96d596d9dbfab704d300074eca66c567f2dab055caa9b828080cce92e2616176000219288630c33542ab83a98db0160cd085b937530 mutt-1.10.0.tar.gz"