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"        {>= "0.2"}
  "ptime"
  "uutf"
  "rosetta"          {>= "0.3.0"}
  "ipaddr"
  "emile"            {>= "1.0"}
  "base64"           {>= "3.1.0"}
  "pecu"             {>= "0.5"}
  "bigstringaf"
  "bigarray-compat"
  "bigarray-overlap" {>= "0.2.0"}
  "angstrom"         {>= "0.14.0"}
  "hxd"              {with-test & < "0.3.0"}
  "alcotest"         {with-test}
  "jsonm"            {with-test}
]
x-commit-hash: "bf182e83504d3f42d87dbfbab0315e57e1e6f9d4"
url {
  src:
    "https://github.com/mirage/mrmime/releases/download/v0.3.2/mrmime-v0.3.2.tbz"
  checksum: [
    "sha256=0fe37cf06ef25a0a0fef7e485b836188824528d1425743cc5c479bc281262b31"
    "sha512=f15bf2cee0998c162886a512a680a415529db39dbdea241c910c1fae7cad5c1bb94afe13ee247ac52149349f08dc922d4d4f37920fe54a0a0e6d0ab40ee2170e"
  ]
}
