makedepends=(aspell aspell-dict cyrus-sasl gdb gnupg gpgme libidn2 kerberos slang   db libxslt lynx)

description="MailUserAgent, useful for reading, writing, replying to, saving, and deleting your email."
url="http://www.mutt.org/"

packager="Great-OS Team"
maintainer="rems"

name=mutt
version=2.2.16
release=2

source=(http://ftp.mutt.org/pub/mutt/$name-$version.tar.gz)

build() {

  cd $name-$version

  ./configure --prefix=/usr     \
              --sysconfdir=/etc \
              --with-docdir=/usr/share/doc/mutt-$version \
              --enable-pop      \
              --enable-imap     \
              --enable-hcache   \
              --enable-sidebar  \
              --without-qdbm    \
              --with-gdbm       \
              --with-ssl        \
              --without-bdb     \
              --without-tokyocabinet 

  make 
  make DESTDIR=$PKG install

}
