# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0

name             pidgin-otr
version          3.2.0
categories       security net chat
maintainers      reifferscheid.org:rsync openmaintainer
description      Off-the-Record Plugin for Pidgin
long_description \
	This is a pidgin plugin which implements Off-the-Record (OTR) \
	Messaging. \
	OTR allows you to have private conversations over IM by providing: \
	- Encryption \
	- No one else can read your instant messages. \
	- Authentication \
	  - You are assured the correspondent is who you think it is. \
	- Deniability \
	  - The messages you send do _not_ have digital signatures that are \
	    checkable by a third party.  Anyone can forge messages after a \
	    conversation to make them look like they came from you.  However, \
	    _during_ a conversation, your correspondent is assured the messages \
	   he sees are authentic and unmodified. \
	- Perfect forward secrecy \
	- If you lose control of your private keys, no previous conversation \
	  is compromised.
homepage         http://www.cypherpunks.ca/otr/
platforms        darwin

master_sites     ${homepage}
checksums	md5 8af70b654b7d7c5a5b7785699ff562f9 \
		sha1 5984f66b48a7302f40f22d46e6e74e3a03761d05 \
		rmd160 b2024861c20c9b6e405f09d1ac4a6442084803f8

depends_lib      port:pidgin port:libotr port:gettext

configure.cppflags-append	-I${prefix}/include/gtk-2.0

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/lib/pidgin/
	eval xinstall -m 755 ${worksrcpath}/.libs/pidgin-otr.so ${destroot}${prefix}/lib/pidgin/
	eval xinstall -m 755 ${worksrcpath}/.libs/pidgin-otr.la ${destroot}${prefix}/lib/pidgin/
}

livecheck.name	otr
