# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: damir <damir@archlinux.org>

pkgname=x11vnc
pkgver=0.9.7
pkgrel=2
pkgdesc="a VNC server for real X displays"
arch=("i686" "x86_64")
license=("GPL2")
#source=(http://dl.sourceforge.net/sourceforge/libvncserver/$pkgname-$pkgver.tar.gz)
url="http://www.karlrunge.com/x11vnc/"
source=("http://x11vnc.sourceforge.net/dev/x11vnc-0.9.7.tar.gz")
depends=('openssl' 'libjpeg' 'zlib' 'libx11' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1
}

md5sums=('30a167577f657909b3355421e14e2ddb')