# Template file for 'zeromq'
pkgname=zeromq
version=4.2.2
revision=1
build_style=gnu-configure
configure_args="--with-libsodium"
hostmakedepends="pkg-config asciidoc xmlto"
makedepends="libsodium-devel"
short_desc="The Intelligent Transport Layer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://www.zeromq.org"
distfiles="https://github.com/zeromq/libzmq/releases/download/v${version}/zeromq-${version}.tar.gz"
checksum=5b23f4ca9ef545d5bd3af55d305765e3ee06b986263b31967435d285a3e6df6b

zeromq-devel_package() {
	depends="${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/man/man3
		vmove usr/lib/*.a
		vmove usr/lib/*.so
	}
}
