# SliTaz package receipt.

PACKAGE="msmtp"
VERSION="1.4.27"
CATEGORY="network"
SHORT_DESC="An SMTP client who transmits a mail to an SMTP server."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://msmtp.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="libssl"
BUILD_DEPENDS="openssl-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--with-ssl=openssl \
		--without-gnome-keyring \
		--without-libgsasl \
		--without-libidn \
		$CONFIGURE_ARGS &&
	make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $install/usr/bin $fs/usr
}