# Tanım: GTK+ ile yazılmış uzak masaüstü istemcisi - git checkout
# URL: http://www.remmina.org/
# Paketçi: milisarge
# Gerekler: intltool gtk3 json-glib cmake avahi xorg-libxkbfile freerdp telepathy-glib gtk2 libjpeg-turbo libssh libunique vte3 libgcrypt xorg-libxdmcp libgnome-keyring libvncserver libsecret webkitgtk2
# Grup: ağ

isim=remmina
surum=1.3.0
devir=1
kaynak=(https://github.com/FreeRDP/Remmina/archive/v${surum}.tar.gz::$isim-$surum.tar.gz)

derle() {
	cd $SRC/Remmina-$surum
	#sed -e 's|ssh_threads|ssh|' -i cmake/FindLIBSSH.cmake # Fix build with libssh 0.8
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DWITH_APPINDICATOR=OFF \
		-DWITH_AVAHI=OFF \
		.
	make
	make DESTDIR="${PKG}/" install
}
