# SliTaz package receipt.

PACKAGE="claws-mail-spam_report"
VERSION="0.3.14"
CATEGORY="network"
SHORT_DESC="Reports spam to various places"
MAINTAINER="erjo@slitaz.org"
SOURCE="spam_report"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.claws-mail.org"
WGET_URL="http://www.claws-mail.org/downloads/plugins/$TARBALL"

DEPENDS="claws-mail libcurl"
BUILD_DEPENDS="claws-mail-dev curl-dev gnutls-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure $CONFIGURE_ARGS && 
	make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib/claws-mail/plugins
	cp -a $_pkg/usr/lib/claws-mail/plugins/*.so*  \
		$fs/usr/lib/claws-mail/plugins
}