{% set version = '2013.03.29' %}

package:
  name: r-ncbit
  version: {{ version|replace("-", "_") }}

source:
  fn: ncbit_{{ version }}.tar.gz
  url:
    - https://cran.r-project.org/src/contrib/ncbit_{{ version }}.tar.gz
    - https://cran.r-project.org/src/contrib/Archive/ncbit/ncbit_{{ version }}.tar.gz
  sha256: 4480271f14953615c8ddc2e0666866bb1d0964398ba0fab6cc29046436820738

build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - r-base

  run:
    - r-base

test:
  commands:
    - $R -e "library('ncbit')"

about:
  home: https://CRAN.R-project.org/package=ncbit
  license: GPL (>= 2)
  summary: making NCBI taxonomic data locally available and searchable as an R object
  license_family: GPL3
