#Maintainer: Markus Muttilainen <stillbornDOTzenwalkATgmailDOTcom>
#Former Maintainer(s): Name <email@address.com>
#Anything commented out is optional and can be deleted.

pkgname=x2vnc
pkgver=1.7.2
pkgrel=1mm
arch=i486
source=(http://fredrik.hubbe.net/x2vnc/x2vnc-1.7.2.tar.gz)
#sourcetemplate=http://users.zenwalk.org/user-accounts/pnboy/$pkgname/$pkgver/
docs=("readme" "copying" "changelog")
#url=http://fredrik.hubbe.net/x2vnc.html
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"x2vnc - A dual-screen hack"
"This program will let you use two screens on two different computers" 
"as if they were connected to the same computer. Even if one of the"
"computers runs Windows 95/98/NT and the other one runs X-windows."
)


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