# Template file for 'zeromq'
pkgname=zeromq
version=4.1.4
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=e99f44fde25c2e4cb84ce440f87ca7d3fe3271c2b8cfbc67d55e4de25e6fe378

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