# Depends on: gmime talloc xapian

url="http://notmuchmail.org/"
description="The mail indexer"
packager="tnut <tnut@nutyx.org>"
contributors="Rocket"

name=notmuch
version=0.28

source=("https://notmuchmail.org/releases/${name}-${version}.tar.gz")

build() {
  cd ${name}-${version}

  ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --includedir=/usr/include \
        --zshcompletiondir=/usr/share/zsh/site-functions

  make
  make DESTDIR="$PKG" install
}
