# Template file for 'libfetch'
pkgname=libfetch
version=2.34
revision=1
build_style=gnu-makefile
makedepends="openssl-devel"
short_desc="File Transfer Library for URLs"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.FreeBSD.org"
license="Modified BSD"
distfiles="http://xbps.nopcode.org/distfiles/${pkgname}-${version}.tar.xz"
checksum=4e6d4541f213c9ab42ea94d49c2573f0a6f54b04f14668530960f1424b04f722

libfetch-devel_package() {
	depends="openssl-devel libfetch>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove "usr/lib/*.a"
	}
}

libfetch_package() {
	pkg_install() {
		vmove usr
	}
}
