# Template file for 'zeromq'
pkgname=zeromq
version=4.1.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libsodium-devel"
short_desc="The Intelligent Transport Layer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://www.zeromq.org"
distfiles="http://download.zeromq.org/zeromq-${version}.tar.gz"
checksum=f9162ead6d68521e5154d871bac304f88857308bb02366b81bb588497a345927

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
	}
}
