Subject: [bug#38094] [PATCH] gnu: Add homebank.

From: Sebastian Schott <[email-masked]>
Date: Wed, 6 Nov 2019 23:00:05 +0100

---
 gnu/packages/finance.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index d8190dadaf..fd29099aa3 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2019 Guillaume Le Vaillant <[email-masked]>
 ;;; Copyright © 2019 Tanguy Le Carrour <[email-masked]>
 ;;; Copyright © 2019 Martin Becze <[email-masked]>
+;;; Copyright © 2019 Sebastian Schott <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -151,6 +152,31 @@ of the bitcoin protocol.  This package provides the Bitcoin Core command
 line client and a client based on Qt.")
     (license license:expat)))
 
+(define-public homebank
+  (package
+    (name "homebank")
+    (version "5.2.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://homebank.free.fr/public/homebank-" version ".tar.gz"))
+       (sha256
+        (base32
+         "13ampiv68y30kc0p2560g3yz8whqpwnidfcnb9lndv93b9ca767y"))))
+    (build-system glib-or-gtk-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("libsoup" ,libsoup)))
+    (arguments
+     `(#:configure-flags (list "-without-ofx"))) ; libofx is not available yet
+    (home-page "http://homebank.free.fr/")
+    (synopsis "Free, easy, personal accounting for everyone")
+    (description "HomeBank is the free software you have always wanted to manage your personal accounts at home.  The main concept is to be light, simple and very easy to use.  It brings you many features that allows you to analyze your finances in a detailed way instantly and dynamically with powerful report tools based on filtering and graphical charts.")
+    (license license:gpl2+)))
+
 (define-public ledger
   (package
     (name "ledger")
-- 
2.24.0