# $Id: Portfile 125066 2014-09-04 09:07:32Z jmr@macports.org $

PortSystem 1.0
PortGroup xcode 1.0

name            MailtoMutt
version         0.4.1
revision        1
categories      aqua mail
license         GPL-2
platforms       darwin
maintainers     nomaintainer
description     MailtoMutt is a very simple application which handles\
                mailto URLs, and hands them off to the Mutt MUA.
long_description    ${description}

homepage        http://mailtomutt.sourceforge.net/
master_sites    sourceforge:project/mailtomutt/${name}/v${version}
distname        mailtomutt-${version}
checksums       md5 6754e9065e2c82fb21e192c89b287c19 \
                sha1 887155f0a24dfa3bf2915c69e38a92bd934b4ad0

if {[vercmp $xcodeversion 4.0] >= 0} {
    post-patch {
        file copy -force ${filespath}/project.pbxproj ${worksrcpath}/${name}.xcode/
    }
}
