A package for tobacco products or tobacco related commodities or smoking devices, comprising an openable closure (8) with at least two walls (4, 13) sliding over another when the closure (8) is being opened and closed, characterised in that at least the one wall (4) comprises a sequence of magnetic elements (21), extending in the direction of the relative movement of the two walls (4, 13) when they slide over another and having alternating positive and negative poles, and that the other wall (13) comprises at least one magnetic element (22) with a magnet pole, which slides along the magnetic elements (21) of the one wall (4) when the two walls (4, 13) slide over another.