APP=neon
VERSION=0.31.1
BUILD=1sml
HOMEPAGE='https://notroj.github.io/neon/'
DOWNLOAD='https://notroj.github.io/neon/neon-0.31.1.tar.gz'
DESC="HTTP and WebDav client library with a C interface"
REQUIRES="expat zlib openssl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-static=no \
    --enable-shared=yes \
    --with-ssl=openssl

  make
  make install DESTDIR=$PKG

  cp README.md $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
87c702a84a63a2c35f1b9ea38ba6f5453d4fbd51c17b17a8dca4bbbac2834c92e5e3b4f187d725e42bcdf6390b7c31cd7297b57b53fb1426ddd86190656b1496  neon-0.31.1.tar.lz
"
