APP=libssh2
VERSION=1.9.0
BUILD=1sml
HOMEPAGE='http://www.libssh2.org/'
DOWNLOAD='https://www.libssh2.org/download/libssh2-1.9.0.tar.gz'
DESC="SSH2 library"
REQUIRES="zlib openssl"

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

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

  ./configure \
    --prefix="" \
    --enable-static=no 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
62a44fbaea33c8db8c7f59805fd4c593fcbbf27ad66764611ea40a09aeab8a0ec581d966e3bbd3ebcc37f707b69311770f6a5e45def64dec72d0b772be721445  libssh2-1.9.0.tar.lz
"
