# Description: A portable middleware for email access
# URL: http://www.etpan.org/
# Packager: pierre at nutyx dot org
# Depends on: curl expat cyrus-sasl

name=libetpan
version=1.7.2
release=1

source=(https://github.com/dinhviethoa/$name/archive/$version.tar.gz)

build() {
  cd $name-$version
  libtoolize --force --copy
  aclocal -I m4
  autoheader
  autoconf
  automake --add-missing \
           --foreign     \
           --force --copy

  ./configure --prefix=/usr    \
              --disable-static \
              --disable-db
  make
  make DESTDIR=$PKG install
}
