# Description: a fast, global-search and tag-based email system # URL: https://notmuchmail.org/ # Maintainer: Shokara Kou, kou at 13f0 dot net # Packager: Tim Biermann, tbier at posteo dot de # Depends on: gmime3 talloc xapian-core # Optional: emacs name=notmuch version=0.39 release=1 source=(https://notmuchmail.org/releases/$name-$version.tar.xz gpgless_configure.diff) build() { cd $name-$version patch -Np1 <$SRC/gpgless_configure.diff ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --includedir=/usr/include \ --with-emacs \ --without-bash-completion \ --without-zsh-completion prt-get isinst emacs >/dev/null 2>&1 && IS_EMACS=1 || IS_EMACS=0 make DESTDIR=$PKG LIBDIR_IN_LDCONFIG=0 WITH_EMACS=$IS_EMACS install install -Dm755 notmuch-shared $PKG/usr/bin/notmuch }