# Template file for 'libesmtp'
pkgname=libesmtp
version=1.0.6
revision=9
build_style=gnu-configure
configure_args="--disable-static --with-openssl"
makedepends="libressl-devel>=2.1.4"
short_desc="Manage submission of emails using SMTP protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://stafford.uklinux.net/libesmtp/"
license="LGPL-2.1"
distfiles="http://stafford.uklinux.net/libesmtp/${pkgname}-${version}.tar.bz2"
checksum=d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b

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