# Template file for 'neon'
pkgname=neon
version=0.30.0
revision=3
build_style=gnu-configure
configure_args="--with-expat --with-ssl=openssl --enable-shared
 --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --disable-static"
hostmakedepends="pkg-config"
makedepends="zlib-devel expat-devel libressl-devel libproxy-devel ca-certificates"
depends="ca-certificates"
short_desc="HTTP and WebDAV client library, with a C interface"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.webdav.org/neon/"
license="LGPL-2.1"
distfiles="http://www.webdav.org/neon/neon-$version.tar.gz"
checksum=2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2

neon-devel_package() {
	depends="expat-devel libressl-devel neon>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/doc
		vmove usr/share/man
		vmove "usr/lib/*.so"
	}
}
