#Maintainer: Markus Muttilainen <stillborn~dotˇzenwalk~at~gmail~dot~com>

pkgname=libmimic
pkgver=1.0.4
pkgrel=1mm
arch=i486
source=(http://downloads.sourceforge.net/sourceforge/farsight/libmimic-1.0.4.tar.gz)
#sourcetemplate=http://users.zenwalk.org/user-accounts/pnboy/$pkgname/$pkgver/
docs=("AUTHORS" "COPYING" "Changelog" "INSTALL" "NEWS" "README")
url=http://sourceforge.net/projects/farsight/files/libmimic/
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libmimic - open source video encoding/decoding library" 
"Libmimic is a library for Mimic V2.x-encoded content (fourCC: ML20)," 
"which is the encoding used by MSN Messenger for webcam conversations."
"It was written because there was no third-party MSN-client that "
"supported this feature due to this proprietary/unknown codec involved."



)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}