- [X] Populate Build-Depends based on requirements from actual compilation
- [ ] Run through list of Depends and eliminate anything unnecessary (seems lengthy)
- [ ] Add to the above based on decisions regarding optional dependencies below
- [ ] Compare to [Kubuntu packaging](https://git.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/trojita/) and incorporate anything particularly relevant.
- [X] Run through CMakeLists.txt and add depends as needed.
- [ ] Add optional depends. We can always remove them if needed.
- [ ] Figure out what's up with GpgMe++.
- [X] Compare to [Kubuntu packaging](https://git.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/trojita/) and incorporate anything particularly relevant.
- [X] Fix rules (the [Kubuntu packaging](https://git.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/trojita/tree/debian/rules) seems overly complicated).
- [X] Check over copyright really well
- [ ] Get in a PPA for initial testing first?
Notes
=====
* There are optional dependencies we might want to turn on by default:
* **zlib** for IMAP COMPRESS
* **QtKeychain** for secure storage of passwords (in the form of a separate binary plugin)
* **ragel**, of which the benefit is not clear ("a pregenerated file is shipped")
* **GpgME++** for PGP
* **Mimetic** for S/MIME (goes hand in hand with PGP)
* Something is up with GpgME++ in that in Ubuntu/Debian seems to lack the required KF5GpgmeppConfig.cmake, and instead having QGpgmeppConfig.cmake, so that will need to be fixed.
* In order to successfully pass all tests (final step in the compilation instructions), X is required.
* Upstream does not seem to want to HTTPS their site. Boo, I know.