#Maintainer: Dimitris Jemos <djemos~at~slackel~dot~gr>

#Mandatory
pkgname=klamav
pkgver=0.46
pkgrel=1dj
arch=i486
source=(http://puzzle.dl.sourceforge.net/project/klamav/Source%20%28For%20ClamAV%20and%20gt_%3D%200.9x%29/KlamAV-0.46/$pkgname-$pkgver-source.tar.gz)
#Optional
docs=("readme" "install" "copying" "changelog" "authors" "todo")
url=http://sourceforge.net/projects/klamav/files/
#options=('noautodotnew')
#dotnew=()

slackdesc=\
(
 #|-----handy-ruler------------------------------------------------------|
   "Klamav a KDE gui frontend for clamav antivirus program for linux"
   "" 
   "Homepage: http://sourceforge.net/projects/klamav/files/"

)

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

        make || return 1
        make install DESTDIR=$startdir/pkg || return 1
}