diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..37bbde9ae75ad3c489a6ac417dec75e0b3b7b1ef
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,11 @@
+Copyright 2006, Andy Gill, Colin Runciman
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/hpc-bin.cabal b/hpc-bin.cabal
index 9e360085b7fb56a6f5e1a06ae42cf62a974d360a..93b7e7e2e9a78126bf7f6bc27bed6cb7b9cd2a0c 100644
--- a/hpc-bin.cabal
+++ b/hpc-bin.cabal
@@ -1,24 +1,28 @@
-Name: hpc-bin
--- XXX version number:
-Version: 0.68
-Copyright: XXX
-License: BSD3
--- XXX License-File: LICENSE
-Author: XXX
-Maintainer: XXX
-Synopsis: XXX
-Description: XXX
-Category: Development
+cabal-version: 2.2
+name: hpc-bin
+version: 0.68
+license: BSD-3-Clause
+license-File: LICENSE
+copyright: (c) Andy Gill, Colin Runciman
+author: Andy Gill, Colin Runciman
+maintainer: XXX
+synopsis: Hpc is a tool for generating coverage reports in various output formats for Haskell projects.
+description: Hpc is a tool for generating coverage reports in various output formats for Haskell projects.
+category: Development
+bug-reports: https://gitlab.haskell.org/hpc/hpc-bin/-/issues
 extra-source-files: README.md
                   , CHANGELOG.md
 build-type: Simple
-cabal-version: 2.0
+
+source-repository head
+    type:     git
+    location: https://gitlab.haskell.org/hpc/hpc-bin.git
 
 Flag build-tool-depends
     Description: Use build-tool-depends
     Default: True
 
-Executable hpc
+executable hpc
     Default-Language: Haskell2010
     hs-source-dirs: src
     Main-Is: Main.hs