legno + -ame, or from a Vulgar Latin *lignamen, from Latin lignum. Compare Spanish leñame.
legname m (plural legnami)