# Description: P2P VoIP software which supports end-to-end encryption.
# URL:         http://www.skype.com/products/skype/linux/
# Maintainer:  James Mills, prologic at shortcircuit dot net dot au
# Packager:    sten, nick dot steeves at shaw dot ca
#
# Depends on:  qt3

name=skype
version=1.3.0.53
release=1
source=(http://download.skype.com/linux/$name-$version-generic.tar.bz2)

build() {
   cd $name-$version
   install -D -m755 skype $PKG/usr/bin/skype
   install -D -m644 lang/skype_en.qm $PKG/usr/share/skype/lang/skype_en.qm
   cp -R sound $PKG/usr/share/skype
   install -D -m644 icons/skype_16_32.png $PKG/usr/share/icons/hicolor/16x16/apps/skype.png
   install -D -m644 icons/skype_32_32.png $PKG/usr/share/icons/hicolor/32x32/apps/skype.png
   install -D -m644 icons/skype_48_32.png $PKG/usr/share/icons/hicolor/48x48/apps/skype.png
   install -D -m644 skype.desktop $PKG/usr/share/applications/skype.desktop
   chown -R root:root $PKG
}

