opam-version: "2.0"
maintainer:   "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors:      "Romain Calascibetta <romain.calascibetta@gmail.com>"
homepage:     "https://github.com/mirage/mrmime"
bug-reports:  "https://github.com/mirage/mrmime/issues"
dev-repo:     "git+https://github.com/mirage/mrmime.git"
doc:          "https://mirage.github.io/mrmime/"
license:      "MIT"
synopsis:     "Mr. MIME"
description:  """Parser and generator of mail in OCaml"""

build: [
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "ocaml"            {>= "4.07.0"}
  "dune"             {>= "1.2"}
  "rresult"
  "fmt"
  "ke"               {>= "0.4"}
  "unstrctrd"
  "ptime"
  "uutf"
  "rosetta"          {>= "0.3.0"}
  "ipaddr"
  "emile"            {>= "0.8" & < "1.0"}
  "base64"           {>= "3.1.0"}
  "pecu"             {= "0.4"}
  "bigstringaf"
  "bigarray-compat"
  "bigarray-overlap" {>= "0.2.0"}
  "angstrom"         {>= "0.14.0"}
  "hxd"              {with-test & < "0.3.0"}
  "alcotest"         {with-test}
  "jsonm"            {with-test}
]
url {
  src:
    "https://github.com/mirage/mrmime/releases/download/v0.3.0/mrmime-v0.3.0.tbz"
  checksum: [
    "sha256=d6dee0f8f5b2c49aaf283e8991686a2f902845bcbe84c50973636cbf8e818046"
    "sha512=11308d7c974be265bba86ca7b54d2955dcc8fe1fd6a6fb593ecd502817692406ff5a57b0b4fa0b57ea00f53478d2981b22823149f7d6d2043a85d18af20087ad"
  ]
}
