vcpkg_from_github(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO sheredom/utf8.h
    REF 146be69f88575d753317d8ef13b16f80e0656fc7
    SHA512 3ce20a440aa6c83b2079cad1385ba96688c2ae866b9dee013bc461f3ba180154231e3a18d3d020b4617b1c17b2cb36ea10c53656a48dd1294ed8324ed5b9acfb
    HEAD_REF master
)

file(COPY "${SOURCE_PATH}/utf8.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/utf8h")

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
