1SUMMARY="A full-featured e-mail client"
2DESCRIPTION="Beam (BEware, Another Mailer) is an open source e-mail client \
3that aims to be fast, stable and feature-complete.
4
5Main features
6
7- Multiple mail accounts (POP & SMTP), with support for default-accounts and \
8automatic selection of appropriate account when replying, etc.
9- Fully MIME compliant (Beam passes the MIME-Torture-Test)
10- Performance adequate for large mail folders (>10,000 messages)
11- POP-authentication (POP3, APOP, CRAM-MD5, DIGEST-MD5)
12- SMTP-authentication (SmtpAfterPop, PLAIN, LOGIN, CRAM-MD5, DIGEST-MD5)
13- Preliminary IMAP-support (fetches mails just as POP3 does)
14- Full header-control, mail-headers can be edited directly before sending
15- Identities, separating the user info (name, mail address, signature) from \
16the network info (server address, login & password)
17- Multiple signatures that can be dynamic by using scripts
18- Filter capabilities (using SIEVE and a SPAM-filter)
19- Customized filter chains to help with sorting emails
20- Customizable shortcuts
21- Customizable icon set"
22HOMEPAGE="https://github.com/HaikuArchives/Beam/"
23COPYRIGHT="2000-2015 Oliver Tappe
24	2016-2020 Adrien Destugues, J��r��me Duval,  Humdinger, Reznikov Sergei"
25LICENSE="GNU GPL v2"
26REVISION="1"
27SOURCE_URI="https://github.com/HaikuArchives/beam/archive/v$portVersion.tar.gz"
28CHECKSUM_SHA256="4e8d9044c0b2ccce7f63742c65807950b717a30a34d9c126d46321eac7e4b069"
29SOURCE_FILENAME="Beam-$portVersion.tar.gz"
30SOURCE_DIR="Beam-$portVersion"
31
32ARCHITECTURES="all"
33
34PROVIDES="
35	beam = $portVersion
36	app:Beam = $portVersion
37	"
38REQUIRES="
39	haiku
40	lib:libiconv
41	lib:liblayout
42	lib:libpcre
43	lib:libssl
44	"
45
46BUILD_REQUIRES="
47	haiku_devel
48	devel:libiconv
49	devel:liblayout >= 1.4.1
50	devel:libpcre >= 1.2.9
51	devel:libssl
52	"
53BUILD_PREREQUIRES="
54	cmd:bison
55	cmd:flex
56	cmd:gcc
57	cmd:jam
58	"
59
60BUILD()
61{
62	jam -q # Parallel builds broken
63}
64
65INSTALL()
66{
67	mkdir -p $appsDir/Beam
68	cp -a generated/distro-haiku/* $appsDir/Beam
69	cp -a Changes.txt Readme.md $appsDir/Beam
70	mkdir -p $appsDir/Beam/Icons
71	cp -a resources/iconset* $appsDir/Beam/Icons
72	cd $appsDir/Beam/tools
73	ln -s ../lib .
74	ln -s ../add-ons .
75
76	addAppDeskbarSymlink $appsDir/Beam/Beam
77}
78