blob: b1efbc3649071f97ec853b101468761b3b96fe7a (
plain)
1 # Description: a fork of Mutt with added features
2 # URL: https://neomutt.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: libidn2
5 # Optional: cyrus-sasl gpgme krb5 lua notmuch
6
7 name=neomutt
8 version=20220429
9 release=1
10 source=(https://github.com/neomutt/neomutt/archive/$version/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 prt-get isinst cyrus-sasl && PKGMK_NEOMUTT+=' --sasl'
16 prt-get isinst gpgme && PKGMK_NEOMUTT+=' --gpgme'
17 prt-get isinst krb5 && PKGMK_NEOMUTT+=' --gss'
18 prt-get isinst lua && PKGMK_NEOMUTT+=' --enable-lua'
19 prt-get isinst notmuch && PKGMK_NEOMUTT+=' --notmuch'
20
21 ./configure $PKGMK_NEOMUTT \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --libexecdir=/usr/lib \
25 --gdbm \
26 --idn2=1 \
27 --with-idn2=/usr \
28 --ssl \
29 --with-ui=ncurses \
30 --idn=0 \
31 --doc=0
32 make
33 make DESTDIR=$PKG install
34
35 rm -fr $PKG/usr/share/
36 }
|