### this file is sourced not run
PKGVER=0.6
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=dovecot-trash-0.6.tar.gz
MD5SUM=4a37da2bb41f7e53b9d218fb8d410594
SRC_URL=https://github.com/lexbrugman/dovecot_deleted_to_trash/archive/v0.6.tar.gz
BUNDLE=

SLACKREQ='dovecot'
SLACKDESC="dovecot-trash: dovecot-trash 0.6 (Trash plugin for dovecot)
dovecot-trash: 
dovecot-trash: The purpose of this deleted_to_trash-plugin is to fix behavior with 
dovecot-trash: IMAP clients (like outlook) that don't work well with dovecot, 
dovecot-trash: specifically not copying deleted email to your Trash folder 
dovecot-trash: automatically. So, what this plugin does is fixing this behavior by 
dovecot-trash: copying deleted items to the Trash folder.
dovecot-trash: 
dovecot-trash: http://wiki2.dovecot.org/Plugins/deleted-to-trash
dovecot-trash: 
dovecot-trash: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	MAKEFLAGS="$MAKEFLAGS DOVECOT_INC_PATH=/usr/include/dovecot \
	    DOVECOT_IMAP_PLUGIN_PATH=/usr/$LIBDIR/dovecot"
	cd /tmp/dovecot* &&
	make $MAKEFLAGS configure build install &&
	pkg_build_slackdesc
}


