# Template file for 'httrack'
pkgname="httrack"
version="3.48.21"
revision=2
build_style=gnu-configure
configure_args="--disable-static --with-zlib=${XBPS_CROSS_BASE}/usr"
short_desc="A free and easy-to-use offline browser utility"
maintainer="mid-kid <esteve.varela@gmail.com>"
license="GPL-3"
homepage="http://www.httrack.com"
distfiles="http://mirror.httrack.com/httrack-${version}.tar.gz"
checksum="871b60a1e22d7ac217e4e14ad4d562fbad5df7c370e845f1ecf5c0e4917be482"
makedepends="zlib-devel libressl-devel"

httrack-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/share/httrack/libtest
		vmove usr/lib/*.so
	}
}
