# Template file for 'libesmtp'
pkgname=libesmtp
version=1.0.6
revision=4
build_style=gnu-configure
configure_args="--with-openssl"
makedepends="openssl-devel"
short_desc="Manage submission of emails using SMTP protocol"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://stafford.uklinux.net/libesmtp/"
license="LGPL"
distfiles="http://stafford.uklinux.net/libesmtp/${pkgname}-${version}.tar.bz2"
checksum=d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b

libesmtp-devel_package() {
	depends="libesmtp>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/libesmtp-config
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/esmtp-plugins/*.a"
	}
}
