If you license the thing, it's legal (5)
I believe the answer is:
licit
'it's legal' is the definition.
(similar in meaning)
I cannot understand how the remainder of the clue works.
Can you help me to learn more?
(Other definitions for licit that I've seen before include "Allowed as by law, not forbidden" , "Allowable" , "Permitted by law" , "OK?" , "Within the law" .)